<span class="menu-item-toggle" ng-click="openViewMenu($event)">
  <i class="fa fa-edit"></i>&nbsp;View
  <i class="menu-icon fa fa-caret-down"></i>
</span>
<ul role="menu-dropdown" class="menu-item-context" ng-show="showViewMenu">
  <li role="toogle-background" ng-click="toogleBackgroundColor()">
      <a>&nbsp;Toggle Background Color</a>
  </li>
</ul>

